/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "AI触发事件",TableName = "Bai_event")]
    public partial class Bai_event:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="uuid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid uuid { get; set; }

       /// <summary>
       ///事件ID
       /// </summary>
       [Display(Name ="事件ID")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string eventId { get; set; }

       /// <summary>
       ///事件标题
       /// </summary>
       [Display(Name ="事件标题")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string title { get; set; }

       /// <summary>
       ///技能ID
       /// </summary>
       [Display(Name ="技能ID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? skillId { get; set; }

       /// <summary>
       ///设备token
       /// </summary>
       [Display(Name ="设备token")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string deviceToken { get; set; }

       /// <summary>
       ///设备名称
       /// </summary>
       [Display(Name ="设备名称")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string deviceName { get; set; }

       /// <summary>
       ///图片地址
       /// </summary>
       [Display(Name ="图片地址")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string renderImageUrl { get; set; }

       /// <summary>
       ///技能名称
       /// </summary>
       [Display(Name ="技能名称")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string skillName { get; set; }

       /// <summary>
       ///抓拍时间
       /// </summary>
       [Display(Name ="抓拍时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? requestTime { get; set; }

       /// <summary>
       ///事件发生时间
       /// </summary>
       [Display(Name ="事件发生时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? createTime { get; set; }

       /// <summary>
       ///图片本地地址
       /// </summary>
       [Display(Name ="图片本地地址")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string savapicpath { get; set; }

       /// <summary>
       ///原始图片本地地址
       /// </summary>
       [Display(Name ="原始图片本地地址")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string savapicpath_y { get; set; }

       
    }
}